<%-- 
    Document   : index
    Created on : May 14, 2011, 7:34:08 AM
    Author     : Gabriel Bran
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="css/styles.css" rel="stylesheet" media="screen" type="text/css"/>
        <title>JSP Page</title>
    </head>

    <body>
        <div id="wrapper">
            <div class="loginbox">
                <h1>Compra en Línea</h1>
                <form id="frmLogin" action="Controlador" method="POST">
                    <label>usuario:</label><br><input id="usuario" name="usuario"type="text" maxlength="15"/><br>
                    <label>password:</label><br><input id="password" name="password" type="password" maxlength="15"/><br>
                    <input type="hidden" name="operacion" value="login"/>
                    <input type="submit" value="login"/>
                    <%
                                if (session.getAttribute("mensaje") != null) {
                    %>
                    <%= session.getAttribute("mensaje")%>
                    <%                                }
                    %>
                </form>
                <img class="logo" src="images/CarritoCompra.jpg" alt="Carrito"/>
            </div>
        </div>
    </body>
</html>
